| Visual Basic (Declaration) | |
|---|---|
Public Overloads Sub SetArray( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal value(,) As Object, _ ByVal formula As Boolean, _ ByVal referenceStyle As ReferenceStyle _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As DefaultSheetDataModel Dim row As Integer Dim column As Integer Dim value() As Object Dim formula As Boolean Dim referenceStyle As ReferenceStyle instance.SetArray(row, column, value, formula, referenceStyle)  | |
| C# | |
|---|---|
public void SetArray( int row, int column, object[,] value, bool formula, ReferenceStyle referenceStyle )  | |
Parameters
- row
 - Row index of the start of the range of cells
 - column
 - Column index of the start of the range of cells
 - value
 - Two-dimensional object array[row,column] containing the values
 - formula
 - IF true, set formulas. Otherwise, set values.
 - referenceStyle
 - The reference style of formulas
 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8